<template>
    <div class="commonContainer">
        <div class="containerTitleBox flex-row-center-sb">
            <div>
                <span class="containerTitle">{{title}}</span>
                <slot name="leftInfo"></slot>
            </div>
            <slot name="rightInfo"></slot>
        </div>
        <div class="containerContentBox">
           <slot></slot>
        </div>
    </div>
</template>

<script>
export default {
    components: {},
    props: {
        title:{
            type:String,
            default:'我是标题'
        }
    },
    data() {
        return {

        }
    },
    computed: {},
    methods: {},
    mounted() {
    },

}
</script>

<style lang="scss" scoped>
.commonContainer {
    background: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 0 20px;
    .containerTitleBox {
       height: 54px;
        .containerTitle{
            font-size: 16px;
            font-weight: 500;
            color: #333333;
        }
    }
    .containerContentBox{
        padding: 10px 0;
        box-sizing: border-box;
        border-top: 1px solid #E9E9E9;
    }

}
</style>
